{if $_userLoggedIn && $_user->getPremium() eq 1}
			<form action="{if isset($formUrl)}{$formUrl}{else}{/if}" method="post" id="playersChoiceForm">
				<input type="hidden" name="formType" value="playersChoice" />
<div class="panelTabs">
					{if isset($formExtFields)}
					{$formExtFields}
					{/if}
				
 					<div class="tabsExpand {if isset($premium) && !empty($premium)}tabsExpanded{/if}">
						<a class="label" title="{'Players choice'|t}">{'Players choice'|t}</a>
					</div>						
				
				<div class="panelTabContent {if empty($premium)}panelTabContentHidden{/if}">
				
					<div class="backgroundFrame280Top"></div>
					<div class="backgroundFrame280">
					
						
							<ul class="options optVal5">
								<li class="head"><h5>{'Hand'|t}</h5></li>
								<li><input type="checkbox" name="premium[hand][]" value="1" id="op1" {if isset($premium.hand) && in_array(1, $premium.hand)}checked="checked"{/if}/> <label for="op1">{'Left'|t}</label></li>
								<li><input type="checkbox" name="premium[hand][]" value="2" id="op2" {if isset($premium.hand) && in_array(2, $premium.hand)}checked="checked"{/if}/> <label for="op1">{'Right'|t}</label></li>
							</ul>
							 
							
							<ul class="options optVal5">
								<li class="head"><h5>{'Forehand'|t}</h5></li>
								<li><input type="checkbox" name="premium[forehand][]" value="1" id="op11" {if isset($premium.forehand) && in_array(1, $premium.forehand)}checked="checked"{/if}/> <label for="op11">{'1 handed'|t}</label></li>
								<li><input type="checkbox" name="premium[forehand][]" value="2" id="op12" {if isset($premium.forehand) && in_array(2, $premium.forehand)}checked="checked"{/if}/> <label for="op12">{'2 handed'|t}</label></li>
							</ul> 
							
							<ul class="options optVal5">
								<li class="head"><h5>{'Backhand'|t}</h5></li>
								<li><input type="checkbox" name="premium[backhand][]" value="1" id="op111" {if isset($premium.backhand) && in_array(1, $premium.backhand)}checked="checked"{/if}/> <label for="op111">{'1 handed'|t}</label></li>
								<li><input type="checkbox" name="premium[backhand][]" value="2" id="op112" {if isset($premium.backhand) && in_array(2, $premium.backhand)}checked="checked"{/if}/> <label for="op112">{'2 handed'|t}</label></li>
							</ul>
							
							
							<ul class="options optVal5">
								<li class="head"><h5>{'Player Style'|t}</h5></li>
								<li><input type="checkbox" name="premium[player_style][]" value="1" id="op3111" {if isset($premium.player_style) && in_array(1, $premium.player_style)}checked="checked"{/if}/> <label for="op3111">{'Net Attacker'|t}</label></li>
								<li><input type="checkbox" name="premium[player_style][]" value="2" id="op3112" {if isset($premium.player_style) && in_array(2, $premium.player_style)}checked="checked"{/if}/> <label for="op3112">{'Aggresive Baseliner'|t}</label></li>
								<li><input type="checkbox" name="premium[player_style][]" value="3" id="op3113" {if isset($premium.player_style) && in_array(3, $premium.player_style)}checked="checked"{/if}/> <label for="op3113">{'Defensive Baseliner'|t}</label></li>
								<li><input type="checkbox" name="premium[player_style][]" value="4" id="op3114" {if isset($premium.player_style) && in_array(4, $premium.player_style)}checked="checked"{/if}/> <label for="op3114">{'Counter Pouncher'|t}</label></li>
								<li><input type="checkbox" name="premium[player_style][]" value="5" id="op3115" {if isset($premium.player_style) && in_array(5, $premium.player_style)}checked="checked"{/if}/> <label for="op3115">{'All Court Player'|t}</label></li>
							</ul>
						
							<ul class="options optVal5">
								<li class="head"><h5>{'Prefered court surface'|t}</h5></li>
								<li><input type="checkbox" name="premium[prefered_court_surface][]" value="1" id="op4111" {if isset($premium.prefered_court_surface) && in_array(1, $premium.prefered_court_surface)}checked="checked"{/if}/> <label for="op4111">{'Clay'|t}</label></li>
								<li><input type="checkbox" name="premium[prefered_court_surface][]" value="2" id="op4112" {if isset($premium.prefered_court_surface) && in_array(2, $premium.prefered_court_surface)}checked="checked"{/if}/> <label for="op4112">{'Hard'|t}</label></li>
								<li><input type="checkbox" name="premium[prefered_court_surface][]" value="3" id="op4113" {if isset($premium.prefered_court_surface) && in_array(3, $premium.prefered_court_surface)}checked="checked"{/if}/> <label for="op4113">{'Grass'|t}</label></li>
								<li><input type="checkbox" name="premium[prefered_court_surface][]" value="4" id="op4114" {if isset($premium.prefered_court_surface) && in_array(4, $premium.prefered_court_surface)}checked="checked"{/if}/> <label for="op4114">{'Synthetic grass'|t}</label></li>
								<li><input type="checkbox" name="premium[prefered_court_surface][]" value="5" id="op4115" {if isset($premium.prefered_court_surface) && in_array(5, $premium.prefered_court_surface)}checked="checked"{/if}/> <label for="op4115">{'Carpet'|t}</label></li>
							</ul>						
						
						<div class="spacer"></div>
					
						{literal}<script type="text/javascript">
							$(function() {
								$('#player_ntrp_min').sliders({min_value: 1, max_value:7, max_obj: '#player_ntrp_max', value_type: 'float', label: 'NTRP'});
							})
						</script>{/literal}
						<input type="hidden" name="premium[ntrp][min]" id="player_ntrp_min" value="{if isset($premium.ntrp.min)}{$premium.ntrp.min}{else}1.0{/if}" id="ntpr_min"/>
						<input type="hidden" name="premium[ntrp][max]" id="player_ntrp_max" value="{if isset($premium.ntrp.max)}{$premium.ntrp.max}{else}7.0{/if}" id="ntpr_max"/>						
						
					</div>
					<div class="backgroundFrame280Bottom"></div>
					<div class="submitTab"><input type="submit" name="submitBrowseOptions" value="{'show'|t}"/></div>
					
				</div>
			</div>
			</form>
{else}
<div class="panelTabs">
<!-- @todo zaślepka dla normalnych userów by mija -->
	<div class="tabsExpand">
		<a class="label" title="{'Buy premium account.'|t}" href="{url label=buyPremium}">{'Buy premium account.'|t}</a>
	</div>	
	<div class="panelTabContent panelTabContentHidden">
		<div class="backgroundFrame280Top"></div>
		<div class="backgroundFrame280"></div>
		<div class="backgroundFrame280Bottom"></div>
	</div>
	

</div>
{/if}